package com.pgybook.front.service;

import com.pgybook.db.entity.domain.CustomerDeliverAddress;
import com.pgybook.front.action.vo.MemberAddressVO;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: feeling
 * Date: 13-11-21
 * Time: 下午10:01
 */
public interface MemberAddressService {
    List<CustomerDeliverAddress> list(Long custId);

    boolean remove(Integer addressId);

    void saveAddress(Long custId, MemberAddressVO vo);

    boolean setAddressDefault(Long custId, Integer addressId);
}
